package Lee_code;

public class Lee_344 {
    public void reverseString(char[] s) {

        int len = s.length;
        int slow = 0, fast = len-1;
        while(fast>slow)
        {
            char temp = s[slow];
            s[slow] = s[fast];
            s[fast] = temp;
            fast--; slow++;
        }
    }
}
